package org.orz.story.works.biz.clubhouse.service;

import org.orz.story.works.biz.clubhouse.model.req.AddDiaryReq;
import org.orz.story.works.biz.clubhouse.model.req.DeleteDiaryReq;
import org.orz.story.works.biz.clubhouse.model.req.UpdateDiaryReq;
import org.orz.story.works.biz.clubhouse.model.resp.ListWorksDiaryResp;

import java.util.List;

public interface WorksDiaryService {
    /**
     * 新增日记
     */
    void addDiary(AddDiaryReq req);

    /**
     * 修改日记
     */
    void updateDiary(UpdateDiaryReq req);

    /**
     * 删除日记
     */
    void deleteDiary(DeleteDiaryReq req);

    /**
     * 查询日记列表
     */
    List<ListWorksDiaryResp> listWorksDiary();
}
